with open('./titles.txt', 'r', encoding='utf8') as f:
    titles = f.readlines()

with open('./abstract.txt', 'r', encoding='utf8') as f:
    abstract = f.readlines()

titles = [x.strip() for x in titles]
abstract = [x.strip() for x in abstract]

with open('./neg.txt', 'w', encoding='utf8') as f:
    for tit, abst in zip(titles, abstract):
        temp = tit+abst
        if len(temp) > 100:
            temp = temp[:100]
        f.write(temp+'\n')
